package com.cat.strategy;

/**
 * @author cat
 * @version 2025/5/27 09:35
 * @description
 * @since JDK17
 */

public class Client {
    public static void main(String[] args) {
        Salesman salesman = new Salesman(new StrategyA());
        salesman.show();
        System.out.println("==============");
        salesman = new Salesman(new StrategyB());
        salesman.show();
        System.out.println("==============");
        salesman = new Salesman(new StrategyC());
        salesman.show();
    }
}
